package android.tusnotas.parser.group;

import org.htmlcleaner.XPatherException;

import com.thoughtworks.xstream.XStream;

import android.tusnotas.beans.Group;
import android.tusnotas.exception.ProcessingInstancesException;

public class GroupParser {
	public Group parseXML(String XML) throws ProcessingInstancesException, XPatherException{
		XStream stream = new GroupXStream();
		Group group = ((Group) stream.fromXML(XML));
		return group;
	}
}
